/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.Date;
import java.util.Vector;
import view.State;

/**
 *
 * @author kien.tran
 */
public class RecycleData {

    private int type;
    private String helpID, helpTitle;
    private String statisticID;
    private String lotteryResult;
    private String phoneNumber;
    private String textSendToFriend;
    private Vector helps;
    private Vector regions;
    private Vector companies;
    private Vector statistics;
    private Vector lotteryData;
    private String page;
    private String totalPage;
    private String pageSize;
    private Date lotteryDate, fromDate, toDate;
    private Company company;

    public RecycleData() {
    }

    public RecycleData(String page, String totalPage, String pageSize) {
        this.page = page;
        this.totalPage = totalPage;
        this.pageSize = pageSize;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

    public String getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(String totalPage) {
        this.totalPage = totalPage;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getLotteryResult() {
        return lotteryResult;
    }

    public void setLotteryResult(String lotteryResult) {
        this.lotteryResult = lotteryResult;
    }

    public Date getLotteryDate() {
        return lotteryDate;
    }

    public void setLotteryDate(Date lotteryDate) {
        this.lotteryDate = lotteryDate;
    }

    public Date getFromDate() {
        return fromDate;
    }

    public void setFromDate(Date fromDate) {
        this.fromDate = fromDate;
    }

    public Date getToDate() {
        return toDate;
    }

    public void setToDate(Date toDate) {
        this.toDate = toDate;
    }

    public String getHelpID() {
        return helpID;
    }

    public void setHelpID(String helpID) {
        this.helpID = helpID;
    }

    public Vector getHelps() {
        return helps;
    }

    public void setHelps(Vector helps) {
        this.helps = helps;
    }

    public Vector getCompanies() {
        return companies;
    }

    public void setCompanies(Vector companies) {
        this.companies = companies;
    }

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public Vector getRegions() {
        return regions;
    }

    public void setRegions(Vector regions) {
        this.regions = regions;
    }

    public Vector getLotteryData() {
        return lotteryData;
    }

    public void setLotteryData(Vector lotteryData) {
        this.lotteryData = lotteryData;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Vector getStatistics() {
        return statistics;
    }

    public void setStatistics(Vector statistics) {
        this.statistics = statistics;
    }

    public String getStatisticID() {
        return statisticID;
    }

    public void setStatisticID(String statisticID) {
        this.statisticID = statisticID;
    }

    public String getHelpTitle() {
        return helpTitle;
    }

    public void setHelpTitle(String helpTitle) {
        this.helpTitle = helpTitle;
    }

    public String getTextSendToFriend() {
        return textSendToFriend;
    }

    public void setTextSendToFriend(String textSendToFriend) {
        this.textSendToFriend = textSendToFriend;
    }

    public void empty() {
        this.type = State.NONE;

        this.helpID = null;
        this.helpTitle = null;
        this.statisticID = null;
        this.lotteryResult = null;
        this.lotteryData = null;
        this.phoneNumber = null;
        this.textSendToFriend = null;

        this.lotteryDate = null;
        this.fromDate = null;
        this.toDate = null;
        this.helps = null;
        this.regions = null;
        this.companies = null;
        this.company = null;
        this.statistics = null;

        this.page = "1";
        this.totalPage = "1";
        this.pageSize = "1";
    }
}
